package com.hunan.api.catv.service.impl.account;

import com.hunan.api.catv.dao.BaseDao;
import com.hunan.api.catv.dao.account.MemberReconciliationRecordMapper;
import com.hunan.api.catv.entity.po.MemberReconciliationRecord;
import com.hunan.api.catv.entity.vo.MemberReconciliationRecordVo;
import com.hunan.api.catv.service.impl.CommonService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @Author: wangchao
 * @Date: 2020/10/27 17:01
 */
@Service
public class AccountReconciliationService extends CommonService<MemberReconciliationRecord, MemberReconciliationRecordVo, Integer> {
    @Autowired
    MemberReconciliationRecordMapper memberReconciliationRecordMapper;

    @Override
    public BaseDao<MemberReconciliationRecord, MemberReconciliationRecordVo, Integer> getBaseDao() {
        return memberReconciliationRecordMapper;
    }

    public List<MemberReconciliationRecordVo> getMemberReconciliationRecord(MemberReconciliationRecordVo memberReconciliationRecordVo) {
        return memberReconciliationRecordMapper.getMemberReconciliationRecord(memberReconciliationRecordVo);
    }
}
